﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin.NET.Application.Request;

/// <summary>
/// 评论请求
/// </summary>
public class ListCommentInput:BasePageInput { 

    /// <summary>
    /// 对象类型
    /// </summary> 
    public string ObjectType { get; set; }

    /// <summary>
    /// 对象ID
    /// </summary> 
    public int ObjectId { get; set; }

    /// <summary>
    /// 用户ID
    /// </summary> 
    public int UserId { get; set; }

    /// <summary>
    /// 用户昵称
    /// </summary> 
    public string UserName { get; set; }

    /// <summary>
    /// 用户头像地址
    /// </summary> 
    public string UserAvatarUrl { get; set; }

    /// <summary>
    /// 评论内容
    /// </summary> 
    public string Content { get; set; }

    /// <summary>
    /// 评分（0-5）
    /// </summary> 
    public string Rating { get; set; }

    /// <summary>
    /// 是否为管理员评论
    /// </summary> 
    public string IsAdmin { get; set; }

    /// <summary>
    /// 是否启用
    /// </summary> 
    public string IsActive { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary> 
    public DateTime CreateTime { get; set; }

    /// <summary>
    /// 更新时间
    /// </summary> 
    public DateTime UpdateTime { get; set; }

    /// <summary>
    /// 创建者Id
    /// </summary> 
    public long CreateUserId { get; set; }

    /// <summary>
    /// 创建者姓名
    /// </summary> 
    public string CreateUserName { get; set; }

    /// <summary>
    /// 修改者Id
    /// </summary> 
    public long UpdateUserId { get; set; }

    /// <summary>
    /// 修改者姓名
    /// </summary> 
    public string UpdateUserName { get; set; } 


}
